
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGClipPlaneChunk.h>
#include <OpenSG/OSGClipPlaneChunkBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ClipPlaneChunk_dump_overloads_0_2, dump, 0, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ClipPlaneChunk_activate_overloads_1_2, activate, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ClipPlaneChunk_changeFrom_overloads_2_3, changeFrom, 2, 3)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ClipPlaneChunk_deactivate_overloads_1_2, deactivate, 1, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_ClipPlaneChunk()
{
    scope* osg_ClipPlaneChunkBase_scope = new scope(
    class_< osg::ClipPlaneChunkBase, bases< osg::StateChunk > , boost::noncopyable >("ClipPlaneChunkBase", no_init)
//        .def_readonly("EquationFieldMask", &osg::ClipPlaneChunkBase::EquationFieldMask)
//        .def_readonly("EnableFieldMask", &osg::ClipPlaneChunkBase::EnableFieldMask)
//        .def_readonly("BeaconFieldMask", &osg::ClipPlaneChunkBase::BeaconFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ClipPlaneChunkBase::MTInfluenceMask)
        .def("getClassType", &osg::ClipPlaneChunkBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ClipPlaneChunkBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ClipPlaneChunkBase::*)() )&osg::ClipPlaneChunkBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ClipPlaneChunkBase::*)() const)&osg::ClipPlaneChunkBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ClipPlaneChunkBase::getContainerSize)
        //.def("getEquation", (osg::Vec4f& (osg::ClipPlaneChunkBase::*)() )&osg::ClipPlaneChunkBase::getEquation, return_value_policy< copy_const_reference >())
        .def("getEquation", (const osg::Vec4f& (osg::ClipPlaneChunkBase::*)() const)&osg::ClipPlaneChunkBase::getEquation, return_value_policy< copy_const_reference >())
        //.def("getEnable", (bool& (osg::ClipPlaneChunkBase::*)() )&osg::ClipPlaneChunkBase::getEnable, return_value_policy< copy_const_reference >())
        .def("getEnable", (const bool& (osg::ClipPlaneChunkBase::*)() const)&osg::ClipPlaneChunkBase::getEnable, return_value_policy< copy_const_reference >())
        //.def("getBeacon", (osg::NodePtr& (osg::ClipPlaneChunkBase::*)() )&osg::ClipPlaneChunkBase::getBeacon, return_value_policy< copy_const_reference >())
        .def("getBeacon", (const osg::NodePtr& (osg::ClipPlaneChunkBase::*)() const)&osg::ClipPlaneChunkBase::getBeacon, return_value_policy< copy_const_reference >())
        .def("setEquation", &osg::ClipPlaneChunkBase::setEquation)
        .def("setEnable", &osg::ClipPlaneChunkBase::setEnable)
        .def("setBeacon", &osg::ClipPlaneChunkBase::setBeacon)
        .def("getBinSize", &osg::ClipPlaneChunkBase::getBinSize)
        .def("copyToBin", &osg::ClipPlaneChunkBase::copyToBin)
        .def("copyFromBin", &osg::ClipPlaneChunkBase::copyFromBin)
        .def("create", &osg::ClipPlaneChunkBase::create)
        .def("createEmpty", &osg::ClipPlaneChunkBase::createEmpty)
        .def("shallowCopy", &osg::ClipPlaneChunkBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("EnableFieldId") = (int)osg::ClipPlaneChunkBase::EnableFieldId;
    scope().attr("EquationFieldId") = (int)osg::ClipPlaneChunkBase::EquationFieldId;
    scope().attr("BeaconFieldId") = (int)osg::ClipPlaneChunkBase::BeaconFieldId;
    scope().attr("NextFieldId") = (int)osg::ClipPlaneChunkBase::NextFieldId;

    delete osg_ClipPlaneChunkBase_scope;

    class_< osg::ClipPlaneChunk, bases< osg::ClipPlaneChunkBase > , boost::noncopyable, osg::ClipPlaneChunkRefPtr >("ClipPlaneChunk", no_init)
        .def("getStaticClassId", &osg::ClipPlaneChunk::getStaticClassId)
        .def("changed", &osg::ClipPlaneChunk::changed)
        .def("dump", &osg::ClipPlaneChunk::dump, osg_ClipPlaneChunk_dump_overloads_0_2())
        .def("activate", &osg::ClipPlaneChunk::activate, osg_ClipPlaneChunk_activate_overloads_1_2())
        .def("changeFrom", &osg::ClipPlaneChunk::changeFrom, osg_ClipPlaneChunk_changeFrom_overloads_2_3())
        .def("deactivate", &osg::ClipPlaneChunk::deactivate, osg_ClipPlaneChunk_deactivate_overloads_1_2())
        .def("switchCost", &osg::ClipPlaneChunk::switchCost)
        .staticmethod("getStaticClassId")
        //.def( self < other< osg::StateChunk >() )
        //.def( self == other< osg::StateChunk >() )
        //.def( self != other< osg::StateChunk >() )
    ;


    register_ptr_to_python<osg::ClipPlaneChunkPtr>();
    implicitly_convertible<osg::ClipPlaneChunkRefPtr, osg::ClipPlaneChunkPtr>();
    implicitly_convertible<osg::ClipPlaneChunkPtr, osg::StateChunkPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::ClipPlaneChunkPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ClipPlaneChunkPtr>);
}

